package edu.sctu.zhangwang.month201506.day20150613;

import edu.sctu.xialei.May.day20150507two.Sales;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

/**
 * Created by Administrator on 2015/6/13.
 */
public class Ioutil {
    public static void main(String[] args) throws IOException {
        String c;
        //使用System.in创建BufferedReader
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        System.out.println("Enter character,'你是傻逼' to quit.");
        //读取字符
        do {
            c = (String) br.readLine();
            System.out.println(c);
        }while (!c.equals("你是傻逼"));
    }
}
